package com.pojo;

public class Good {
    private int goodId;
    private int userId;
    private String goodName;
    private String goodAddress;
    private String goodExplain;
    private User user;

    @Override
    public String toString() {
        return "Good{" +
                "goodId=" + goodId +
                ", userId=" + userId +
                ", goodName='" + goodName + '\'' +
                ", goodAddress='" + goodAddress + '\'' +
                ", goodExplain='" + goodExplain + '\'' +
                ", user=" + user +
                '}';
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getGoodId() {
        return goodId;
    }

    public void setGoodId(int goodId) {
        this.goodId = goodId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodAddress() {
        return goodAddress;
    }

    public void setGoodAddress(String goodAddress) {
        this.goodAddress = goodAddress;
    }

    public String getGoodExplain() {
        return goodExplain;
    }

    public void setGoodExplain(String goodExplain) {
        this.goodExplain = goodExplain;
    }
}
